<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
<head>
	<title><?= $this->company_name ?> - Ticket- &amp; Rechnungssystem</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="Author" content="C. Höft & Hendrik Schlatmann" />
	<meta name="Publisher" content="HOFFNUNGSTRAEGER" />
	<meta name="Keywords" content="" />
	<meta name="Description" content="" />
	<meta name="Audience" content="all" />
	<meta name="Language" content="de" />
	<meta name="Content-Language" content="de" />
	<meta name="robots" content="index, follow" />
	<meta name="DC.Publisher" content="HOFFNUNGSTRAEGER" />
	<meta name="DC.Language" content="de" />
	<link rel="shortcut icon" href="/favicon.ico" />
	<?  $request = Zend_Controller_Front::getInstance()->getRequest(); ?>
	<?  $this->headLink()->appendStylesheet('/css/style.css') ?>
	<? $this->headLink()->appendStylesheet($this->custom_css) ?>
	<? if ($request->getControllerName() == 'marking'): $this->headLink()->appendStylesheet('/css/marking.css'); endif; ?>
	<? if ($request->getControllerName() == 'marking' || $request->getControllerName() == 'cart'): $this->headLink()->appendStylesheet('/css/jquery.alerts.css'); endif; ?>
	<?= $this->headLink() ?>
	<?  $this->headScript()->appendFile('/js/jquery-1.6.2.min.js') ?>
	<?  $this->headScript()->appendFile('/js/jquery-ui-1.8.14.custom.min.js') ?>
	<?  $this->headScript()->appendFile('/js/jquery.alerts.js') ?>
	<?  $this->headScript()->appendFile('/js/jquery.tablesorter.min.js') ?>
	<?  $this->headScript()->appendFile('/js/onload.js') ?>
	<?  $this->headScript()->appendFile('/js/jquery-animate-css-rotate-scale.js') ?>
	<?  $this->headScript()->appendFile('/js/jquery.autoGrowInput.js') ?>	
	<?  $this->headScript()->appendFile('/js/jquery.tagedit-1.2.0.js') ?>
	<?= $this->headScript(); ?>
</head>
<body>
  <div class="page_margins">
    <div class="page">
      <div id="header">
        <div id="logo">
        	<a href="/"><img src="<?= $this->company_logo; ?>" alt="Logo" /></a>
        </div>
        <div id="topnav">
          <!-- start: skip link navigation -->
          <a class="skip" title="skip link" href="#navigation">Skip to the navigation</a><span class="hideme">.</span>
          <a class="skip" title="skip link" href="#content">Skip to the content</a><span class="hideme">.</span>
          <?php if(Zend_Auth::getInstance()->hasIdentity()) { ?>
          	<!-- end: skip link navigation <a href="#">Login</a> | --><a href="/<?= Zend_Registry::get('Zend_Locale') ?>/auth/logout">Logout</a>
          <?php } ?>
        </div>
      </div>
      <div id="nav">
        <!-- skiplink anchor: navigation -->
        <a id="navigation" name="navigation"></a>
        <div class="hlist">
          <!-- main navigation: horizontal list -->
          <?= $this->layout()->main_navigation ?>
        </div>
      </div>
      <div id="main">
        <div id="col1">
          <div id="col1_content" class="clearfix">
            <!-- Linke Leiste: Unternavigation? -->
            <div id="subnav">
				<?= $this->layout()->sub_navigation ?>
			</div>
          </div>
        </div>
        <div id="col2">
          <div id="col2_content" class="clearfix">
            <?= $this->layout()->rightcol ?>
          </div>
        </div>
        <div id="col3">
          <div id="col3_content" class="clearfix">
            <?= $this->layout()->content ?>
          </div>
          <!-- IE Column Clearing -->
          <div id="ie_clearing"> &#160; </div>
        </div>
      </div>
      <!-- begin: #footer -->
      <div id="footer">
      	<!--  Layout based on <a href="http://www.yaml.de/">YAML</a>-->
      </div>
    </div>
  </div>
</body>
</html>
